package com.csg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 任务详细
 * </p>
 *
 * @author George Chan
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("RT_TASK_DETAIL")
public class TaskDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联rt_task_plane中的task_id
     */
    @TableField("TASK_ID")
    private Integer taskId;

    /**
     * 设备标记
     */
    @TableField("DEVICE_TAG")
    private Integer deviceTag;

    /**
     * 任务计划顺序
     */
    @TableField("TASK_SERIAL")
    private Integer taskSerial;

    /**
     * 执行状态
     */
    @TableField("DETAIL_STATUS")
    private Integer detailStatus;

    /**
     * 站室标识
     */
    @TableField("AUTHORIZEID")
    private String authorizeid;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ID_WORKER)
    private String id;

    /**
     * 机器人ID
     */
    @TableField("ROBOT_ID")
    private String robotId;


}
